Skip to content

feat(claude): pin distribution policy capability evidence (#187) - #308

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
feat/187-s3-distribution-policy
Sep 2, 2026
Merged

feat(claude): pin distribution policy capability evidence (#187)#308
ScriptedAlchemy merged 1 commit into
mainfrom
feat/187-s3-distribution-policy

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

Slice 3 (1/3) of the #187 Claude parity pass: distribution/policy capability evidence.

  • Pins 19 dated capability rows under a new distributionPolicy block in capabilities/claude-2.1.250.json, covering @skills-dir plugins and their trust/MCP/LSP/monitor restrictions, install scopes, reload behavior, trust gates, synced plugins, managed scope, all six managed restrictions (strictKnownMarketplaces, blockedMarketplaces, disableSideloadFlags, disableCommandPluginSources, allowManagedHooksOnly, plugin suggestions), and the full plugin/marketplace CLI lifecycle command sets.
  • Every row is honestly unavailable: agent-bundle is a compiler and cannot install, trust, reload, or administer host-side plugin state. Evidence lines cite code.claude.com docs retrieved 2026-09-02 plus local Claude Code 2.1.257 CLI observations.
  • The allowManagedHooksOnly row builds on the slice-1 settings evidence (subagentStatusLine non-exemption) without contradicting it; disableSideloadFlags records the agents G5 deferral linkage (docs(capabilities): record the #100 stage 2 agents-component deferral in pinned capability notes #220).
  • Claude adapter exposes the rows via unavailableCapability sourced from the capability table; the unified plugin adapter mirrors them through intersectCapabilityStates following the lsp precedent.
  • Native proofs pin claude plugin --help / claude plugin marketplace --help command inventories against 2.1.257 and run an add/list/remove marketplace lifecycle entirely inside an isolated CLAUDE_CONFIG_DIR temp directory (no global state touched).
  • No new diagnostics, no schema changes; adapterRevision claude 1.13.0 -> 1.14.0, plugin 1.12.0 -> 1.13.0.

Test plan

  • Scoped suites: host-adapters, host-adapters.native (AGENT_BUNDLE_NATIVE_HOST_CONTRACTS=1), adapter-metadata, adapter-capability-states, plugin-bundle, artifact-validator — 339/339 pass, 0 skipped
  • pnpm -w typecheck and pnpm -w lint clean
  • Rebased on origin/main (0560c75, post agent-plugins portable lane) with all gates re-run post-rebase

@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d936d6e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
agent-bundle Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-02T17:54:07.983051Z d936d6e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Sep 2, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle@308
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/create-agent-bundle@308
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/@agent-bundle/runtime@308

commit: d936d6e

@ScriptedAlchemy
ScriptedAlchemy merged commit be33352 into main Sep 2, 2026
8 of 9 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the feat/187-s3-distribution-policy branch September 2, 2026 17:50

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d936d6ef00

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

'The pinned Claude plugin contract does not document the plugin-root output-styles surface.',
),
pluginCliLifecycle: unavailableCapability(distributionPolicy.pluginCliLifecycle.reason),
pluginInstallScopes: unavailableCapability(distributionPolicy.pluginInstallScopes.reason),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Mark Claude install scopes as supported

This makes registry.supports('claude', 'pluginInstallScopes') return false even though the public installer already accepts user, project, and local scopes and installPublicCli passes the selected value to claude plugin install ... --scope (src/install/install.ts:219-241). Clients using capability metadata to expose installation options will therefore hide a working feature; this capability should reflect the existing scoped installer rather than claiming Agent Bundle cannot choose or persist a scope.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 2530cc32. pluginInstallScopes now reports supported, and the pinned capability evidence cites installPublicCli forwarding user/project/local through claude plugin install --scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant